export const modalConfig = {
  formItems: [
    {
      field: "name",
      label: "用户名",
      placeholder: "请输入用户名",
      type: "input",
    },
    {
      field: "realname",
      label: "真实姓名",
      placeholder: "请输入真实姓名",
      type: "input",
    },
    {
      field: "password",
      label: "密码",
      placeholder: "请输入密码",
      type: "password",
      isHidden: true,
    },
    {
      field: "cellphone",
      label: "电话号码",
      placeholder: "请输入电话号码",
      type: "input",
    },
    {
      field: "enable",
      label: "是否开启",
      placeholder: "请选择是否开启",
      type: "select",
      options: [
        { label: "开启", value: 1 },
        { label: "关闭", value: 2 },
      ],
    },
    {
      field: "departmentId",
      label: "选择部门",
      placeholder: "请选择部门",
      type: "select",
      options: [],
    },
    {
      field: "roleId",
      label: "选择角色",
      placeholder: "请选择角色",
      type: "select",
      options: [],
    },
  ],
  collLayout: 24,
  itemLayout: {},
  title: "用户",
};
